import { createRouter, createWebHistory } from 'vue-router'


const routes = [
  { path: '/', redirect: '/home' },
  { path: '/home', component: () => import('../pages/Home.vue') },
  { path: '/str_util', component: () => import('../pages/StringUtil.vue') },  
  { path: '/common', component: () => import('../pages/Public.vue') },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router
